package cn.edu.bjfu.practice.practice.student.service.impl;

import cn.edu.bjfu.practice.practice.manager.pojo.domain.UserTable;
import cn.edu.bjfu.practice.practice.student.pojo.vo.CourseView;
import cn.edu.bjfu.practice.practice.student.service.CourseService;
import cn.edu.bjfu.practice.practice.teacher.dao.CourseDao;
import cn.edu.bjfu.practice.practice.teacher.dao.StudentCourseDao;
import cn.edu.bjfu.practice.practice.teacher.pojo.domain.Course;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpSession;
import java.util.HashMap;
import java.util.List;

@Service
public class CourseServiceImpl implements CourseService {

    @Autowired
    StudentCourseDao studentCourseDao;

    @Override
    public List<CourseView> selectCourse(Integer sno) {
        return studentCourseDao.selectCourse(sno);
    }
}
